#pragma once
#include"Employee.h"
class CommissionEmployee : public Employee
{
public:
	CommissionEmployee();
	CommissionEmployee(int id,string name, string phone, string depart, double grossSales, double commissionRate);
	~CommissionEmployee();

	double grossSales; 
	double commissionRate;
	void toSring();

	void makeSalary();
};

